﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainDriver.DomainModeling.DataProviders
{
    public interface IDataProvider
    {
        DataSourcePersistenceType PersistenceType { get; }
        Type DataSourceType { get; }
        object DataSource { get; set; }

        DATASOURCE GetTypedDataSource<DATASOURCE>()
            where DATASOURCE : class;
    }
}